#include"namedPipe.hpp"
#include"Shm.hpp"
int main()
{
    NamedPipe pipe(Path, user);
    Shm shm(path, proj_id, user);
    char *shmaddr = shm.getaddr();
    shm.clear();
    char ch = 'A';
    while(ch<='H')
    {
        shmaddr[ch - 'A'] = ch;
        ch++;
        cout << "OK" << endl;
        pipe.Write("OK");
        sleep(2);
    }
    return 0;
}